package cn.iocoder.yudao.module.promotion.gift.service.app;

import cn.iocoder.yudao.framework.business.basic.service.ListService;
import cn.iocoder.yudao.framework.business.basic.service.PageService;
import cn.iocoder.yudao.framework.business.basic.service.SimpleDetailService;
import cn.iocoder.yudao.module.api.promotion.gift.dto.GiftActivityVO;
import cn.iocoder.yudao.module.promotion.gift.pojo.dto.AppGiftActivityQueryDTO;

import java.util.List;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 *  这里是文件说明
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/01/13
 */
public interface AppGiftActivityService extends SimpleDetailService<GiftActivityVO>, ListService<GiftActivityVO, AppGiftActivityQueryDTO>, PageService<GiftActivityVO, AppGiftActivityQueryDTO> {

    /**
     * 获取指定店铺参与的赠品活动
     *
     * @param shopId 店铺编号
     * @param limit 限制条数
     * @return 活动列表
     */
    List<GiftActivityVO> getAvailableListByShopId(Long shopId, Integer limit);

}
